package com.example.huajia.wx.controller.form;

import lombok.Data;
import springfox.documentation.spring.web.json.Json;

import javax.validation.constraints.NotBlank;

@Data
public class InsertActivityForm {

    @NotBlank(message = "标题不能为空")
    private String title;

    @NotBlank(message = "活动内容不能为空")
    private String content;

    @NotBlank(message = "省份不能为空")
    private String province;

    @NotBlank(message = "城市不能为空")
    private String city;

    @NotBlank(message = "地区不能为空")
    private String district;

    @NotBlank(message = "活动详细地址不能为空")
    private String detailedPlace;

    @NotBlank(message = "活动电话·不能为空")
    private String tel;

    @NotBlank(message = "活动开始时间不能为空")
    private String beginTime;

    @NotBlank(message = "报名截止时间不能为空")
    private String endEnrollTime;

    @NotBlank(message = "活动结束时间不能为空")
    private String endTime;

    @NotBlank(message = "志愿时长(小时)不能为空")
    private Integer durationHour;

    @NotBlank(message = "志愿时长(分钟)不能为空")
    private Integer durationMin;

    @NotBlank(message = "活动要求不能为空")
    private String ord;

    @NotBlank(message = "活动最大报名人数不能为空")
    private Integer applicantNum;
}
